package cn.com.code.design.logic.impl;

import cn.com.code.design.logic.BaseLogic;

import java.util.Map;

/**
 * 树逻辑节点（年龄）实现
 * @author zhengpei
 * @date 2021/9/27
 */
public class UserAgeFilter extends BaseLogic {

  @Override
  public String matterValue(Long treeId, String userId, Map<String, String> decisionMatter) {
    return decisionMatter.get("age");
  }

}